<script lang="ts" setup>
import { provide, ref, watch } from 'vue';

const checkedValue = ref<any>(new Set());
const emit = defineEmits(['change']);

provide('checkedValue', checkedValue);
provide('change', () => {
	emit('change', Array.from(checkedValue.value));
});
</script>

<template>
	<view class="um-checkbox-group">
		<slot></slot>
	</view>
</template>

<style></style>
